package com.pro.mapper;

import com.pro.pojo.JsApplyRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName:JsApplyRecordMapper
 * Package:com.pro.mapper
 * Description:
 *
 * @Date:2021/11/28 19:34
 * @Author: ZPT
 */
public interface JsApplyRecordMapper {
    /**
     *
     * @author ZPT
     * @date 2021/11/28 19:34
     * @content :查询申请创作者
     */
    List<JsApplyRecord> getApplyRecord(@Param("position")String position,@Param("account")String account,
                                       @Param("fullName")String fullName,@Param("applyDate")String applyDate,
                                       @Param("result")Integer result);

    /**
     *
     * @author ZPT
     * @date 2021/11/28 20:03
     * @content :修改结果状态
     */
    Boolean updateApplyRecord(@Param("id")Integer id,@Param("result")Integer result,@Param("remarks")String remarks);

}
